using System;
using System.Net.DnsToolkit.Packet.Records;

namespace System.Net.DnsToolkit.Packet.Busy.Records
{
    public class RecordCNAME : IRecord, IRecordCNAME
	{
        public IDomainName CNAME { get; set; }

        public QTypeEnum QType {
            get {
                return QTypeEnum.CNAME;
            }
        }

        public override string ToString()
		{
			return CNAME == null ? string.Empty : CNAME.ToString();
		}

	}
}
